
<!DOCTYPE html>
<html lang='zh-CN'>
    <head>
        <meta charset='utf-8'>
            <meta content='IE=edge' http-equiv='X-UA-Compatible'>
                <meta content='UIViewExt-Swift,Swift' name='Keywords'>
                    <meta content='UIViewExt的Swift版本' name='Description'>
                        <title>
                            liufile/UIViewExt-Swift - 码云 - 开源中国
                        </title>
                        <link href="http://git.oschina.net/assets/application-f52885388f7109d9b3b4ee68ecb17657.css" media="screen" rel="stylesheet" type="text/css" />
    </head>
    
    <body class='ui_basic project'>
        
        <div id='git-readme'>
            <div class='file_holder'>
                <div class='file_title'>
                    <i class='octicon octicon-book'></i>
                    <span class='file_name'>
                        README.md
                        <small>400 Bytes</small>
                    </span>
                </div>
                <div class='file_content markdown-body'>
                    <h1><a class="anchor" id="uiviewext-swift" href="#uiviewext-swift"></a>UIViewExt-Swift</h1>&#x000A;<p>UIViewExt的Swift版本</p>&#x000A;&#x000A;<p>使用与OC版的UIViewExt一样简单：</p>&#x000A;<div class="monokai"><div class="highlight"><pre>self.x  == self.frame.origin.x&#x000A;self.y  == self.frame.origin.y&#x000A;self.width == self.frame.size.width&#x000A;self.height == self.frame.size.height&#x000A;self.top&#x000A;self.bottom&#x000A;self.left&#x000A;self.right&#x000A;...&#x000A;</pre></div></div>&#x000A;<p>加入工程方法：</p>&#x000A;<div class="monokai"><div class="highlight"><pre>1.直接下载UIViewExt.swift放入工程&#x000A;2.使用CocoaPods管理依赖，在Podfile中加入&#x000A;pod 'UIViewExt-Swift'&#x000A;任意swift文件中import UIViewExt_Swift即可&#x000A;</pre></div></div>&#x000A;<p>方法暂时没有扩展，有什么想法给我留言吧：）</p>&#x000A;</div>
            </div>
        </div>
    </body>
</html>
